package com.cgt.xiaotao.promotion.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cgt.xiaotao.promotion.domain.po.Coupon;
import com.cgt.xiaotao.promotion.domain.po.ExchangeCode;

public interface IExchangeCodeService extends IService<ExchangeCode> {
    /**
     * 异步生成兑换码
     * @param coupon 优惠券
     */
    void asyncGenerateExchangeCode(Coupon coupon);
}